package com.mit.common.design.dto;

import java.math.BigDecimal;

import com.mit.common.dto.AbstractDTO;

public class FabricDTO extends AbstractDTO {
	private String name;
	private String coloredInd;
	private String remarks;
	private String type;
	private int styleId;
	
	private BigDecimal amount;
	private String unit;
	private BigDecimal xshrink;
	private BigDecimal yshrink;
	private String sampleRmk;
	
	@Override
	public boolean equals(Object obj) {
		if(obj == null)
			return false;
		if(! (obj instanceof FabricDTO))
			return false;
		return (((FabricDTO) obj).getId() == null)
				? (this.id == null)
				: (((FabricDTO) obj).getId().equals(this.id));
	}
	
	public int getStyleId() {
		return styleId;
	}
	public void setStyleId(int styleId) {
		this.styleId = styleId;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getColoredInd() {
		return coloredInd;
	}
	public void setColoredInd(String coloredInd) {
		this.coloredInd = coloredInd;
	}
	public String getRemarks() {
		return remarks;
	}
	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}

	public BigDecimal getAmount() {
		return amount;
	}

	public void setAmount(BigDecimal amount) {
		this.amount = amount;
	}

	public String getUnit() {
		return unit;
	}

	public void setUnit(String unit) {
		this.unit = unit;
	}

	public BigDecimal getXshrink() {
		return xshrink;
	}

	public void setXshrink(BigDecimal xshrink) {
		this.xshrink = xshrink;
	}

	public BigDecimal getYshrink() {
		return yshrink;
	}

	public void setYshrink(BigDecimal yshrink) {
		this.yshrink = yshrink;
	}

	public String getSampleRmk() {
		return sampleRmk;
	}

	public void setSampleRmk(String sampleRmk) {
		this.sampleRmk = sampleRmk;
	}

	
}
